package com.aynu.bookstore.beans;

import java.io.Serializable;

public class Item implements Serializable{
	 private String orderId;
	 private Products productId;
	 private Integer buynum;
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public Products getProductId() {
		return productId;
	}
	public void setProductId(Products productId) {
		this.productId = productId;
	}
	public Integer getBuynum() {
		return buynum;
	}
	public void setBuynum(Integer buynum) {
		this.buynum = buynum;
	}
	public Item(String orderId, Products productId, Integer buynum) {
		super();
		this.orderId = orderId;
		this.productId = productId;
		this.buynum = buynum;
	}
	public Item() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Item [orderId=" + orderId + ", productId=" + productId + ", buynum=" + buynum + "]";
	}
	 
}
